Support tofu+pgp trust model in GnuPG
authorBenjamin Barenblat <bbaren@google.com>
Fri, 28 Nov 2025 15:14:51 +0000 (16:14 +0100)
committerRene Engelhard <rene@debian.org>
Fri, 28 Nov 2025 15:14:51 +0000 (16:14 +0100)
commitec3fe909799e9cdff1dfda31cac7a6ac3ac4875d
treea2ef6dae89e2a7165ebc58208b1e79b09e35b701
parent26cc360e9c94351577776b3fb729df1d663505c4
Support tofu+pgp trust model in GnuPG

Bug-Debian: https://bugs.debian.org/955271
Forwarded: no

GnuPG supports a trust-on-first-use layer that sits on top of the
standard PGP trust model. If this is enabled, 'gpg --list-keys' needs
write and lock permissions on the TOFU database to return any useful
data. Allow this access through AppArmor.

Gbp-Pq: Name apparmor-gnupg-tofu.diff
sysui/desktop/apparmor/program.soffice.bin